package com.adderis.soft.service;

import java.util.List;

import com.adderis.soft.domain.model.Densite;

public interface IDensiteBo {

	/**
	 * Persist a Densite entity in the database
	 * 
	 * @param transientDensite
	 */
	public void persist(Densite transientDensite);

	/**
	 * Remove a persisted Densite from the database
	 * 
	 * @param persistentDensite
	 */
	public void remove(Densite persistentDensite);

	public void remove(Integer id);

	/**
	 * Update a Densite in the database
	 * 
	 * @param detachedDensite
	 * @return merged Densite
	 */
	public Densite merge(Densite detachedDensite);

	/**
	 * Find a Densite by id
	 * 
	 * @param id
	 * @return the found Densite
	 */
	public Densite findById(Integer id);

	/**
	 * Find a Densite by id
	 * 
	 * @return the found Densite
	 */
	public List<Densite> findAll();

	/**
	 * Search Densites
	 * 
	 * @param searchString
	 * @return the found Densites
	 */
	public List<Densite> search(String searchString);

}

